.PHONY:all
all:wsServer json mysql
mysql:mysql.c
	gcc -o $@ $^ -L/usr/lib64/mysql -lmysqlclient
wsServer:wsServer.cpp
	g++ -o $@ $^ -std=c++11 -lpthread -lboost_system
json:json.cpp
	g++ -o $@ $^ -std=c++11 -lpthread -lboost_system -ljsoncpp
.PHONY:clean
clean:
	rm -rf wsServer json mysql
